package com.piggy.logi.sys.vo;

import cn.hutool.core.util.IdUtil;
import com.piggy.common.core.annotation.Excel;
import com.piggy.logi.sys.api.domain.LogiSysUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * 承运商司机信息视图对象 logi_carrier_driver
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel("承运商司机信息视图对象")
public class LogiCarrierDriverExtVo extends LogiCarrierDriverVo {

	@Excel(name = "地址区县")
	@ApiModelProperty("地址区县")
	private String addressDistrictName;

	@Excel(name = "帐号状态", readConverterExp = "0=正常,1=停用")
	@ApiModelProperty("账号状态, 0=正常,1=停用 null 未注册")
	private String accountStatus;

	@ApiModelProperty("司机长跑路线")
	private List<LogiCarrierDriverLineExtVo> driverLineList;

	@ApiModelProperty("开通用户信息")
	private LogiSysUser sysUser;

	@ApiModelProperty("uuid")
	private String uuid = IdUtil.fastUUID().toLowerCase();
}
